package com.ruoyi.project.manhua.name.domain;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 漫画名称 对象 mh_name
 *
 * @author yuan
 * @date 2021-01-23
 */
@JsonIgnoreProperties(ignoreUnknown = true)
public class MhName extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 漫画类型，存放的是字典数据表的id */
    @Excel(name = "漫画类型，存放的是字典数据表的id")
    private Long typeId;

    /** 封面地址 */
    @Excel(name = "封面地址")
    private String theCover;

    /** 漫画国家存放的是字典的id */
    @Excel(name = "漫画国家存放的是字典的id")
    private Long countriesId;

    /** 国家名称 */
    @Excel(name = "国家名称")
    private String countriesName;

    /** 漫画类型名称 */
    @Excel(name = "漫画类型名称")
    private String typeName;

    /** 最新篇章如果等于0 表示完结 */
    @Excel(name = "最新篇章如果等于0 表示完结")
    private String newZhang;

    /** 漫画作者名称 */
    @Excel(name = "漫画作者名称")
    private String author;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 点赞 */
    @Excel(name = "点赞")
    private Integer giveLike;

    /** 收藏 */
    @Excel(name = "收藏")
    private Integer collect;

    /** 评论 */
    @Excel(name = "评论")
    private Integer comment;

    /** 喜欢数量 */
    @Excel(name = "喜欢数量")
    private Integer fond;

    /** 阅读数量 */
    @Excel(name = "阅读数量")
    private Integer reading;



    public MhName() {
    }

    public MhName(Long id, String newZhang) {
        this.id = id;
        this.newZhang = newZhang;
    }

    public MhName(Long id, Integer reading) {
        this.id = id;
        this.reading = reading;
    }
    public MhName(Integer collect, Long id) {
        this.id = id;
        this.collect = collect;
    }


    public MhName(String theCover) {
        this.theCover = theCover;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setTypeId(Long typeId)
    {
        this.typeId = typeId;
    }

    public Long getTypeId()
    {
        return typeId;
    }
    public void setTheCover(String theCover)
    {
        this.theCover = theCover;
    }

    public String getTheCover()
    {
        return theCover;
    }
    public void setCountriesId(Long countriesId)
    {
        this.countriesId = countriesId;
    }

    public Long getCountriesId()
    {
        return countriesId;
    }
    public void setCountriesName(String countriesName)
    {
        this.countriesName = countriesName;
    }

    public String getCountriesName()
    {
        return countriesName;
    }
    public void setTypeName(String typeName)
    {
        this.typeName = typeName;
    }

    public String getTypeName()
    {
        return typeName;
    }
    public void setNewZhang(String newZhang)
    {
        this.newZhang = newZhang;
    }

    public String getNewZhang()
    {
        return newZhang;
    }
    public void setAuthor(String author)
    {
        this.author = author;
    }

    public String getAuthor()
    {
        return author;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }
    public void setGiveLike(Integer giveLike)
    {
        this.giveLike = giveLike;
    }

    public Integer getGiveLike()
    {
        return giveLike;
    }
    public void setCollect(Integer collect)
    {
        this.collect = collect;
    }

    public Integer getCollect()
    {
        return collect;
    }
    public void setComment(Integer comment)
    {
        this.comment = comment;
    }

    public Integer getComment()
    {
        return comment;
    }
    public void setFond(Integer fond)
    {
        this.fond = fond;
    }

    public Integer getFond()
    {
        return fond;
    }
    public void setReading(Integer reading)
    {
        this.reading = reading;
    }

    public Integer getReading()
    {
        return reading;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("name", getName())
                .append("typeId", getTypeId())
                .append("theCover", getTheCover())
                .append("countriesId", getCountriesId())
                .append("countriesName", getCountriesName())
                .append("typeName", getTypeName())
                .append("newZhang", getNewZhang())
                .append("author", getAuthor())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .append("delFlag", getDelFlag())
                .append("giveLike", getGiveLike())
                .append("collect", getCollect())
                .append("comment", getComment())
                .append("fond", getFond())
                .append("reading", getReading())
                .toString();
    }
}